package com.lykj.llw.box.data.model

import com.chad.library.adapter.base.entity.MultiItemEntity

class PicModel(isAdd: Boolean, localUrl: String, remoteUrl: String, seq: Int) : MultiItemEntity {
    var localUrl = ""
    var remoteUrl = ""
    var isAdd = false

    init {
        this.localUrl = localUrl
        this.remoteUrl = remoteUrl
        this.isAdd = isAdd
    }

    override val itemType: Int
        get() = if (isAdd) 1 else 0
}